<?php

class IndexController extends Zend_Controller_Action
{

    public function init()
    {
        /* Initialize action controller here */
    	header('Access-Control-Allow-Origin: *');
    	if(!Zend_Auth::getInstance()->hasIdentity()){
    		$this->_helper->redirector("login","authentification","pilotage");
    	}
    	
    }

    public function indexAction()
    {
        // action body
        
    }


}

